package com.simba.server.components.data;

public class ResultPrint extends ResultBase{
    //标签信息
    private PrintLabelInfo Label;

    public PrintLabelInfo getLabel() {
        return Label;
    }

    public void setLabel(PrintLabelInfo label) {
        Label = label;
    }

    public static class PrintLabelInfo{
        //标签信息文件字节数组
        //label_file_type=1010则为zpl
        //label_file_type=1002则为pdf
//        private String Data;

        //标签信息文件字节数组
        //label_file_type=1010则为zpl
        //label_file_type=1002则为pdf
//        private String Data2;

        //zpl命令字符【当label_file_type=1010时才有】,对应Data字段
        private String zpl_content;

        //zpl命令字符【当label_file_type=1010时才有】,对应Data2字段
        private String zpl_content2;

        //标签信息文件格式：默认1010
        //1002:PDF
        //1010:ZPL
        private int label_file_type;

        public String getZpl_content() {
            return zpl_content;
        }

        public void setZpl_content(String zpl_content) {
            this.zpl_content = zpl_content;
        }

        public String getZpl_content2() {
            return zpl_content2;
        }

        public void setZpl_content2(String zpl_content2) {
            this.zpl_content2 = zpl_content2;
        }

        public int getLabel_file_type() {
            return label_file_type;
        }

        public void setLabel_file_type(int label_file_type) {
            this.label_file_type = label_file_type;
        }
    }
}
